#!/usr/bin/env python3
# -*- coding:utf-8 -*-

import re


class Reg:
    @staticmethod
    def run_re(regex, content):
        return content if re.search(regex, content) else None

